import numpy as N

from  qtAnimationWidget import *

class Empirica(MatplotAnimationCanvas):
	def __init__(self, *args, **kwargs):
		MatplotAnimationCanvas.__init__(self, *args, **kwargs)
		self.data = []

	def addData(self, n):
		self.data.append(n)
		#print self.data
		self.axes.plot(self.data)
		self.draw()


if __name__ == "__main__":
	import main.py
